package org.mobile.api;

import org.mobile.api.exception.AccessException;

public interface ApiFactory {

	public Api getApi(String apiName);

	/**
	 * 验证请求的appid和key
	 * 
	 * @param appId
	 * @param appKey
	 * 
	 * @return 验证结果
	 */
	public void validAppAccess(String appId, String appKey, Integer id) throws AccessException;
}
